package exception

func NewNotfound(format string, a ...any) *Apiexcetion {
	return NewApiexcetion(404, format, a...)
}

func NewAuthfailed(format string, a ...any) *Apiexcetion {
	return NewApiexcetion(5000, format, a...)
}

func NewExpiredTime(format string, a ...any) *Apiexcetion {
	return NewApiexcetion(5001, format, a...)
}

func NewPermissionDeny(format string, a ...any) *Apiexcetion {
	return NewApiexcetion(5100, format, a...)
}
